package com.anbang.website.service;

import java.util.Map;

import com.google.common.collect.Maps;

import net.sf.json.JSONObject;

/**
 * @author fediy
 *
 * 商品类别处理助手helper
 */
public class ProCateHelper {

	public static JSONObject categoryList(String categoryid){
		Map<String, Object> map = Maps.newHashMap();
		map.put("categoryid", categoryid);
		return ServiceHelper.post(ServiceDefine.SVR_PROCATELIST, map);
	}
	
	/*
	 * categoryid 当前商品类别id或者当前点击类别id
	 */
	public static JSONObject categoryPath(String categoryid){
		Map<String, Object> map = Maps.newHashMap();
		map.put("categoryid", categoryid);
		return ServiceHelper.post(ServiceDefine.SVR_PROCATEPATH, map);
	}
	

}
